﻿Option Explicit On
Option Strict On


Partial Class Account_passwordrecovery
    Inherits System.Web.UI.Page



    Protected Sub PasswordRecovery1_SendingMail(sender As Object, e As System.Web.UI.WebControls.MailMessageEventArgs) Handles PasswordRecovery1.SendingMail
        Dim emaillog As New LogginsLogDSTableAdapters.SPTableAdapter()
        emaillog.usp_MembershipEmailsOutgoingLogInsert(e.Message.From.Address, e.Message.To.FirstOrDefault.Address, e.Message.Subject, e.Message.Body.ToString(), DateTime.Now)
        PasswordRecoverPopupExtender.Show()
    End Sub

    Protected Sub btnCancel_Click(sender As Object, e As EventArgs) Handles btnCancel.Click
        Response.Redirect("~/Account/Login.aspx")
    End Sub
End Class
